﻿using Super_Management_Mayhem.Content.Spritesheet;
using Transformable_Engine_v2.Engine.Animation.FrameAnimation;

namespace Super_Management_Mayhem.Content.Animations
{
    public class ChangeClassSmoke : FrameAnimationDescription
    {
         public ChangeClassSmoke()
        {
            IsLooping = false;
            AddFrame(0, new FrameDescription(ParticleSheet.GetSprite(ParticleSheet.ChangeClassSmoke.Smoke0), 1));
            AddFrame(1, new FrameDescription(ParticleSheet.GetSprite(ParticleSheet.ChangeClassSmoke.Smoke1), 2));
            AddFrame(2, new FrameDescription(ParticleSheet.GetSprite(ParticleSheet.ChangeClassSmoke.Smoke2), 3));
            AddFrame(3, new FrameDescription(ParticleSheet.GetSprite(ParticleSheet.ChangeClassSmoke.Smoke3), 4));
            AddFrame(4, new FrameDescription(ParticleSheet.GetSprite(ParticleSheet.ChangeClassSmoke.Smoke4), 5));
            AddFrame(5, new FrameDescription(ParticleSheet.GetSprite(ParticleSheet.ChangeClassSmoke.Smoke5), 6));
            AddFrame(6, new FrameDescription(ParticleSheet.GetSprite(ParticleSheet.ChangeClassSmoke.Hidden), 7) { IsLastFrame = true });
            FrameRate = 10;
        }
    }
}